package com.cqc.paoclient.ui.mime.myarticle;

import com.cqc.paoclient.base.BasePresenter;
import com.cqc.paoclient.base.BaseRxPresenter;
import com.cqc.paoclient.base.BaseView;
import com.cqc.paoclient.model.ArticleModel;
import com.cqc.paoclient.model.MyProfileModel;

/**
 * Created by cui on 2017/11/26.
 */

public interface MyArticleContract {
    interface View extends BaseView {
        void getMyArticleSuccess(ArticleModel articleModel);

        void getMyArticleFail(String error);

        void loadMoreMyArticleSuccess(ArticleModel articleModel);
    }

    abstract class Presenter extends BaseRxPresenter<View> {
        abstract void getMyArticle();

        abstract void loadMoreMyArticle();
    }
}
